/* 
* @Author: LDF QQ 47121862
* @Date:   2014-06-06 10:30:00
* @Last Modified by:   LDF QQ 47121862
* @Last Modified time: 2014-06-06 10:36:22
*/

$(document).ready(function(){
    $('.chkOrder').click(function(){
    	var url=$(this).attr('href');
    	$.post(url,null,function(re){
    		if(Number(re)){
    			$.msg({
	    			str:'<b class="green fm">状态修改成功</b>',
	    			close:function(){
	    				location.reload();
	    			}
	    		})
    		}else{
    			$.msg({
	    			str:'<b class="red">修改失败</b>'
	    		})
    		}
    		
    	})
    	return false;
    })
});